package net.eicp.nada;

public class Five {
	static void disp(int a){
		int mark = Integer.MIN_VALUE;
		while (mark != 0){
			int b = ((mark & a) != 0)?1:0;
			System.out.print(b);
			mark >>>= 1;
		}
		System.out.println("");
	}
	public static void main(String[] args) {
		int a;
		int b;
		a = 0xaaaaaaaa;
		b = 0x55555555;
		disp(a);
		disp(b);
		disp(a&b);
		disp(a|b);
		disp(a^b);
		disp(~a);
	}
}
